<?php
/**
 * Group row class
 *
 * This row class uses in the model to represent a unit group.
 *
 * @access 	public
 * @author 	Valentin
 * @copyright	ResMania 2009 all rights reserved.
 * @link	http://developer.resmania.com/api
 */
class RM_Groups_Row extends RM_Row {
    function getUnit($locale = null){
        $unitModel = new RM_Units();
        return $unitModel->get($this->main_unit_id, $locale);
    }

}